package lab02.Test10;

/**
 * Created by lenovo on 2017/10/20.
 */
public class BeiJingPeople extends ChinaPeople {
    String address;

    public BeiJingPeople() {
    }

    public BeiJingPeople(String name, String sex, double height, double weight, String idnumber, int age, String address) {
        super(name, sex, height, weight, idnumber, age);
        this.address = address;
    }

    @Override
    public void eat() {
        //  super.eat();
        System.out.println("Eat dumplings on New Year's Day");
    }
}
